home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 17 / CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso / CUCD / Programming / DiceSource / src / editors / DME / Config / dcc.config next >
Text File  |  1994-02-01  |  3KB  |  53 lines

  1. #    DICE Configuration file (Used by DCC)
  2. #       © 1993 Obvious Implementations Corp.  All Rights Reserverd
  3. #       $VER: DCC.Config 2.0 (17.12.93)
  4. #
  5. # Instructions for use:
  6. #
  7. #       Quick-Fix Error Handling.  Pops up your editor pointing to any
  8. #       warnings or errors.  This file is parsed when you use the -R
  9. #       option with DCC.  The following commands are valid:
  10. # Note: A space is not allowed between the keyword and the =!
  11. #         port= <portname>
  12. #                 This is the AREXX port that DCC will talk to if found
  13. #                 in the system.  It will send the contents of rexxcmd to
  14. #                 this port.  If you do not want to send a rexx command, you
  15. #                 should leave this field out (by commenting it out)
  16. #                 Note that if you do not supply a rexxcmd, this field will
  17. #                 be ignored.
  18. #         rexxcmd= <any single AREXX command that your program expects>
  19. #                 This is the command that will be sent to your AREXX port
  20. #                 if it is found in the system.  If you do not supply a
  21. #                 port, then this field will be ignored
  22. #         cmd= <any command to run>
  23. #                 This command will be executed if you fail to supply either
  24. #                 a port or a rexxcmd.  If you have supplied the port and rexxcmd
  25. #                 fields, this command will be executed IF the port is not
  26. #                 found in the system.  DCC will attempt to Execute() this
  27. #                 command up to 5 times if the port does not appear in the
  28. #                 system after the previous invocations.
  29. #
  30. #         linkport= <portname>
  31. #                 This is exactly the same as port= except that it is used
  32. #                 in place of port when the error comes from the linking phase
  33. #         linkrexxcmd= <any command to run>
  34. #                 This is exactly the same as rexxcmd= except that it is used
  35. #         linkcmd= <any AREXX command>
  36. #                 This is exactly the same as cmd= except that it is used
  37. #                 in place of cmd when the error comes from the linking phase
  38. #                 in place of rexxcmd when the error comes from the linking phase
  39. #
  40. #         For any of the cmd fields (rexxcmd, cmd, linkrexxcmd, linkcmd), you can
  41. #         put any text commands as well as substitution commands as follows:
  42. #
  43. #        %e      Error temporary file name
  44. #        %f      Fully qualified source file name
  45. #        %d      Directory containing the source
  46. #        %n      Filepart of source
  47. #        %c    Current Directory (where DCC was run from)
  48. #        %0-%9    argument from -R0/-R9 DCC option (e.g. -R0 fubar)
  49. #
  50. #
  51. cmd= rx DCC:Rexx/DME_ErrorParse.rexx %e "%n" "%c" "%f" "%0"
  52. linkcmd= rx DCC:Rexx/DME_ErrorParse.rexx %e "%n" "%c" "%f" "%0"
  53.